package com.pikaqiu.warehouse.domain.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MaterialProduct extends BaseEntity implements Serializable {
    /**
     * 关系ID
     */
    private Integer id;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 产品ID
     */
    private Integer productId;

    /**
     * 物料数量，用于生产一个单位产品的物料数量
     */
    private BigDecimal quantity;

    private static final long serialVersionUID = 1L;
}
